package com.fnzx.service.impl;

import com.fnzx.dao.LinkOtherDao;
import com.fnzx.entity.LinkOtherEntity;
import com.fnzx.service.LinkOtherService;
import com.fnzx.util.PageUtils;
import com.fnzx.util.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


@Service("linkOtherService")
public class LinkOtherServiceImpl extends ServiceImpl<LinkOtherDao, LinkOtherEntity> implements LinkOtherService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LinkOtherEntity> page = this.page(
                new Query<LinkOtherEntity>().getPage(params),
                new QueryWrapper<LinkOtherEntity>()
        );

        return new PageUtils(page);
    }

}